<template>
    <div>
      <div class="container" v-if="myData!==null">
      <span class="title">基本信息</span>
        <div class="d1">
          <span>订单编号</span>
          <div class="d2">
            <span>{{myData.orderNo}}</span>
          </div>
        </div>
        <div class="d1">
          <span>订单生成时间</span>
          <div class="d2">
            <span>{{myData.createDate}}</span>
          </div>
        </div>
        <div class="d1">
          <span>账号</span>
          <div class="d2">
            <span>{{myData.account}}</span>
          </div>
        </div>
        <div class="d1">
          <span>关联图书项目</span>
          <div class="d2">
            <span>{{myData.projectName}}</span>
          </div>
        </div>
      </div>
    </div>
</template>

<script>
    export default {
        name: "Info",
      props:['myData']
    }
</script>

<style scoped>
.title{
font-size: 20px;
font-weight: bolder;
display: block;
}
  .container{
    width: 600px;
    margin: 25px auto ;
  }
  .d1{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 14px;
    margin-left: 10px;
  }
  .d2{
  width: 330px;
    text-align: center;
  }
</style>
